package com.ruoyi.project.WebMoudle.streamShop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 商家流水对象 stream_shop
 * 
 * @author ruoyi
 * @date 2020-08-15
 */
public class StreamShop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;
    private Long shopId;
    private Long belongId;
    private Long wxUserId;
    private String phoneNum;

    /** 流水类型(0-用户支付得钱,1-商铺提现扣钱) */
    @Excel(name = "流水类型(0-用户支付得钱,1-商铺提现扣钱)")
    private String streamType;
    private String orderNum;
    private String handleType;
    private String belongCompany;
    private String consumeCompany;

    public String getBelongCompany() {
        return belongCompany;
    }

    public void setBelongCompany(String belongCompany) {
        this.belongCompany = belongCompany;
    }

    public String getConsumeCompany() {
        return consumeCompany;
    }

    public void setConsumeCompany(String consumeCompany) {
        this.consumeCompany = consumeCompany;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    /** 流水金额 */
    @Excel(name = "流水金额")
    private BigDecimal streamMoney;

    public Long getBelongId() {
        return belongId;
    }

    public void setBelongId(Long belongId) {
        this.belongId = belongId;
    }

    public String getHandleType() {
        return handleType;
    }

    public void setHandleType(String handleType) {
        this.handleType = handleType;
    }

    public Long getWxUserId() {
        return wxUserId;
    }

    public void setWxUserId(Long wxUserId) {
        this.wxUserId = wxUserId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getId()
    {
        return id;
    }
    public void setStreamType(String streamType) 
    {
        this.streamType = streamType;
    }

    public String getStreamType() 
    {
        return streamType;
    }
    public void setStreamMoney(BigDecimal streamMoney)
    {
        this.streamMoney = streamMoney;
    }

    public BigDecimal getStreamMoney()
    {
        return streamMoney;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("streamType", getStreamType())
            .append("streamMoney", getStreamMoney())
            .append("createTime", getCreateTime())
            .toString();
    }
}
